<!doctype html>
<html>

	<head>
		<meta charset="utf-8">
		<title>图文共享</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="css/common.css"/>
		<link rel="stylesheet" type="text/css" href="css/index.css"/>
	</head>
	<body class="bg_ff">
		<header class="mui-bar mui-bar-nav">
		    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		    <h1 class="mui-title"></h1>
		</header>
		<div class="mui-content bg_ff">
			<div class="mg_top20 padding_12">
				<p class="mg_top30 color_4 content_me">文字内容文字内容文字内容文字内容文字内容文字内容</p>
			</div>
		</div>
		<script src="js/mui.js"></script>
		<script src="js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/index.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			mui.init()
			function getAgreement(){
				$('.gif').show()
				$.ajax({
					type:'get',
					url:urlcom+'public/getAgreement',
					async:true,
					dataType:'json',
					data:{type:getUrlParam('type')},
					success:function(res){
						$('.gif').hide()
						if(res.code==0){
							$('.content_me').html(res.data.content)
							if(res.data.type==2){
								$('.mui-title').html('积分规则')
							}else if(res.data.type==1){
								$('.mui-title').html('用户协议')
							}
						}
					
					}
					
			    })
			}getAgreement()
		</script>
	</body>

</html>
